/*
 * Copyright (c) 2006-2020, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2020-05-21     chenhy       the first version
 */
#ifndef APPLICATIONS_FLASH_MAP_H_
#define APPLICATIONS_FLASH_MAP_H_

#define BOOT_FIELD_START          0x08000000
#define BOOT_FIELD_SIZE           0xC000    // 48K
#define APPLICATION_FIELD_START   BOOT_FIELD_START+BOOT_FIELD_SIZE
#define FIRMWARE_FIELD_MAX_SIZE   0x19000
#define USER_DATA_FIELD_START     APPLICATION_FIELD_START+FIRMWARE_FIELD_MAX_SIZE
#define USER_DATA_FIELD_END       0x08040000  // 256K

#endif /* APPLICATIONS_FLASH_MAP_H_ */
